<!DOCTYPE html>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<!-- html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -->
<html>
<head>
	<!-- <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> -->
	<title>
		kokoomi | {% block title %}{% endblock %}
	</title>
	<link rel="stylesheet" href="/site_media/style.css" type="text/css" />
	<script type="text/javascript" src="/site_media/jquery.js"></script>

	{% block external %}{% endblock %}
</head>
<body>
	<div id="container">
	<div id="tagline">Kokoomi — Find the best food around you.</div>
	<div id="nav">
	<ul>
		{% if user.is_authenticated %}
			<li><a href="/user/{{ user.username }}/">{{ user.username }}</a> |</li>
			<li><a href="/user/{{ user.username }}/account">account</a> |</li>
			<li><a href="/submit/">Post Review</a> |</li>
			<li><a href="/logout/">logout</a></li>
		{% else %}
			<li><a href="/login/">login</a> |</li>
			<li><a href="/about/">about</a> |</li>
			<li><a href="/register/">register</a></li>
		{% endif %}
	</ul>
	</div>
	<h1><a href="/">Kokoomi (&#12467;&#12463;&#21619;)</a></h1>
	{% include "reviews/search.html" %}
	
	<div id="content">
	{% block head %}{% endblock %}
	{% block content %}{% endblock %}
	</div>
	</div>
</body>
</html>